<?php
/*
 * @Description: 
 * @Author: Leequik
 * @Date: 2025-07-27 18:19:32
 * @LastEditTime: 2025-07-27 18:23:23
 * @LastEditors: Leequik
 */

namespace App\Console\Commands;

use Illuminate\Console\Command;
use App\Services\SendMessageService;
use Illuminate\Support\Facades\Log;

class SendMsgCommand extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'app:send-msg';

    /**
     * The console command description.
     *
     * @var string
     */
    protected $description = 'Command description';

    /**
     * Execute the console command.
     */
    public function handle()
    {
        //
        Log::info('队列任务开始>>>>>>>>>>>>>?');

        $sms = new SendMessageService();
        //$sms->send('发欺诈超时警告！');
        $sms->test();

        Log::info('队列任务结束>>>>>>>>>>>>>!');
    }
}
